package org.csu.code.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.util.Date;

@Data
@Component
@TableName("orderstatus")
public class OrderStatus {
    @TableId(value = "orderid",type = IdType.INPUT)
    private int orderId;
    private String status;
    @TableField(value = "lineNum")
    private int lineNum;
    @TableField(value = "timeStamp")
    private Date timestamp;
}
